﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserCentents/Centents.Master" AutoEventWireup="true"
    CodeBehind="GroupClass.aspx.cs" Inherits="School.UserCentents.GroupClass" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="MainBody">
        <!-- 右侧开始 -->
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <div class="mainHeader">
                    <div class="itopic">
                        <img src="../images/body_side_icon_qzadd.gif">修改班级</div>
                    <div class="clear">
                    </div>
                </div>
                <div class="mainBodyShow">
                    <div id="mlist">
                        <div class="mainBodyTop">
                            <div id="btns">
                                <asp:LinkButton ID="LinkButton1" runat="server" CssClass="btn_hover" OnClick="LinkButton1_Click">管理员列表</asp:LinkButton>
                                <asp:LinkButton ID="LinkButton2" runat="server" CssClass="btn" OnClick="LinkButton2_Click">成员列表</asp:LinkButton>
                            </div>
                        </div>
                        <br>
                        <div class="AdminList">
                            <div class="ATitle">
                                <asp:Label ID="lbTitle" runat="server" Text=""></asp:Label></div>
                            <div id="showadmin">
                                <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand" OnItemDataBound="Repeater1_ItemDataBound">
                                    <ItemTemplate>
                                        <div class="alist">
                                            <asp:Label ID="lbUserID" runat="server" Text='<%#Eval("UserID")%>' Visible="false"></asp:Label>
                                            <asp:Label ID="lbUserManager" runat="server" Text='<%#Eval("Manager")%>' Visible="false"></asp:Label>
                                            <asp:LinkButton ID="lkUserID" runat="server" CssClass="btn" CommandName="Del" Visible="false"
                                                Style="text-decoration: underline" CommandArgument='<%#Eval("UserID")%>'>删除</asp:LinkButton>
                                                <asp:LinkButton ID="lkManager" runat="server" CssClass="btn" CommandName="Del" Visible="false"
                                                Style="text-decoration: underline" CommandArgument='<%#Eval("Manager")%>'>删除</asp:LinkButton>
                                        </div>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </div>
                        </div>
                        <div class="AdminAdd">
                            <div class="ATitle">
                                <asp:Label ID="lbSTlele" runat="server" Text=""></asp:Label>
                            </div>
                            <div id="adduserlist">
                                <div class="gselect" id="gselect">
                                    <asp:Repeater ID="Repeater2" runat="server" OnItemCommand="Repeater2_ItemCommand"
                                        OnItemDataBound="Repeater2_ItemDataBound">
                                        <ItemTemplate>
                                            <asp:LinkButton ID="LinkButton3" runat="server" CommandName="Check" CommandArgument='<%#Eval("ID")%>'><%#Eval("TypeName")%></asp:LinkButton>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </div>
                                <asp:Repeater ID="Repeater3" runat="server" OnItemCommand="Repeater3_ItemCommand">
                                    <ItemTemplate>
                                        <ul class="userlist">
                                            <li class="l1">
                                                <%#Eval("MemberName")%>(<%#Eval("MembeLoginName")%>)</li>
                                            <li class="l2">
                                                <asp:Button ID="Button1" runat="server" Text="添加" CommandName="Add" CommandArgument='<%#Eval("ID")%>' />
                                            </li>
                                        </ul>
                                    </ItemTemplate>
                                </asp:Repeater>
                                <br />
                                <webdiyer:AspNetPager CssClass="" CurrentPageButtonClass="cpb" ID="AspNetPager1"
                                    runat="server" AlwaysShow="True" FirstPageText="首页" Font-Size="12px" LastPageText="尾页"
                                    NextPageText="【下一页】 " PageSize="15" PrevPageText="【上一页】" ShowBoxThreshold="11"
                                    TextAfterInputBox="" TextBeforeInputBox="" UrlPaging="True" CustomInfoHTML=""
                                    ShowCustomInfoSection="Left" ShowPageIndexBox="Never" ShowFirstLast="False" ShowPrevNext="False">
                                </webdiyer:AspNetPager>
                                <br />
                                <br />
                              <%--  <ul>
                                    <li>以上列表中没有，<a href=""><b>添加新<asp:Label ID="Label1" runat="server" Text="老师"></asp:Label></b></a>
                                    </li>
                                </ul>--%>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- 右侧结束 -->
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
